
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>查看成果详细内容</title>

<style type="text/css">
<!--
.STYLE1 {font-size: 50px}
-->
</style>
</head>

<body>
<?php
$id=$_GET['id'];
session_start();
$_SESSION['id']=$id;
//echo $id;
$link = mysql_connect('localhost','root','') or die(mysql_error());// 建立连接
//var_dump($link);
mysql_select_db('cheng_guo_db',$link);// 选择数据库
mysql_query('set names utf8');// 设定连接编码
$sql ="SELECT * FROM content where con_id=$id";
$rs=mysql_query($sql);
$rows=mysql_fetch_assoc($rs);
//print_r($rows);


?>

<center>

<form id="form1" name="form1" method="post" action="modify2.php">
  <p  style="font-size:24px;color:black;">教师成果详细展示</p><br />
  
    
      <span  style="font-size:24px;color:black;"> 题目：</span>
      <label>
        <input name="con_title" size="30" type="text" id="con_title" value="<?php echo $rows['con_title']?>">
      </label>
    
    <br /><br />
      作者：
      <label>
        <input name="author" type="text" id="author" value="<?php echo $rows['author']?>">
      </label>
    <br /><br /><br />
    
  
  
      <label>
        <textarea name="content" cols="80" rows="50" id="content" ><?php echo $rows['content'] ?></textarea>
      </label>
    
  
  <p>&nbsp;</p>
  
<input type="button" name="button2" value="返回" onClick="location.href='gongneng1.php'" />


<p>&nbsp;</p>
</form>
</center>
</body>
</html>

